<template>
  <div>
    <h2>登录</h2>
    <button @click="login">点我呀</button>
  </div>
</template>
<script>
export default {
  methods:{
    login(){
      localStorage.setItem('token','123')
      this.$router.push('/Domusi/song')
    }
  }
}
</script>